package com.huang.design.behavior.Responsibility.ext;

public class MainTest {
    public static void main(String[] args) {
        FilterChain chain = new FilterChain();
        chain.addFilter(new EncoderFilter());
        chain.addFilter(new HTTPFilter());
        chain.addFilter(new ChartFilter());

        chain.doFilter(new Request("req"),new Response("resp"),chain);



    }
}
